Platform Explorer / Nuxeo Platform 2021.49

Component org.nuxeo.ecm.platform.tag.service.migrator

Resolution Order

515
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.tag.service.migrator" version="1.0">

  <extension target="org.nuxeo.runtime.migration.MigrationService" point="configuration">

    <migration id="tag-storage">
      <description label="migration.tag-storage">Migration of the tags storage model</description>
      <class>org.nuxeo.ecm.platform.tag.TagsMigrator</class>
      <defaultState>facets</defaultState>
      <state id="relations">
        <description label="migration.tag-storage.relations">Tags stored as relations</description>
      </state>
      <state id="facets">
        <description label="migration.tag-storage.facets">Tags stored as faceted metadata</description>
      </state>

      <step id="relations-to-facets" fromState="relations" toState="facets">
        <description label="migration.tag-storage.relations-to-facets">Migrate tags from relations to facets</description>
      </step>
    </migration>

  </extension>

</component>